﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default.aspx.cs" Inherits="Test_Default" %>

<%@ Register Assembly="System.Web.Extensions" Namespace="System.Web.UI" TagPrefix="asp" %>

<%@ Register Src="../UserControls/DictSelecter.ascx" TagName="DictSelecter" TagPrefix="uc1" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title>无标题页</title>
    <script>
        function getdict(pid)
        { 
           
            DataForAjax.test(pid,result);
           
        }
       function result(strReturn)
       {       
            alert(strReturn);
       }
           
    </script>
</head>
<body>
    <form id="form1" runat="server">
        <asp:ScriptManager ID="ScriptManager1" runat="server">
            <Services>
                <asp:ServiceReference Path="../webservice/DataForAjax.asmx" />
            </Services>
        </asp:ScriptManager>
        
        
        
        <input id="Button1" type="button" onclick="getdict('开始传递')" value="button" />
    </form>
</body>
</html>
